package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ContractRepository extends JpaRepository<Contract, String> {
    Contract findByBelongId(String belongId);
    List<Contract> findByBelongIdIn(List<String> ids);
    void deleteByBelongId(String id);
}
